package com.imjohn.service;

import com.imjohn.entity.WxPublic;
import com.imjohn.mapper.WxMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WxPublicService {
    @Autowired
    WxMapper wxmapper;
    /*判断是否存在签名*/
    public WxPublic hasSign(){
        return (WxPublic) wxmapper.hasSign();
    }
    public int updateWxSign(WxPublic wxPublic) {
        return wxmapper.updateWxSign(wxPublic);
    }
}
